import {SHRINK_BOARD, SET_ACTIVE_CATEGORY, SELECT_ITEM, SET_HIGHLIGHT_CATEGORY} from "./actionTypes"
let actionCreator = {
  [SHRINK_BOARD](params){
    return {
      type:SHRINK_BOARD,
      payload:params
    }
  },
  [SET_ACTIVE_CATEGORY](params){
    return {
      type:SET_ACTIVE_CATEGORY,
      payload:params
    }
  },
  [SELECT_ITEM](params){
    return {
      type:SELECT_ITEM,
      payload:params
    }
  },
  [SET_HIGHLIGHT_CATEGORY](params){
    return {
      type:SET_HIGHLIGHT_CATEGORY,
      payload:params
    }
  },
  
}
export default actionCreator
